﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace Server_NhaSach.WCF_Interface
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IServiec_QLNhaSach" in both code and config file together.
    [ServiceContract]
    public interface IPhieuTraHangNCC
    {
        [OperationContract]
        bool InsertPhieuTraHangNCC(string maTHNCC, string maNV, string maKho, string maNCC, string maSoThue, DateTime ngayTra, string nguoiTra, string chungTuTra, string ghiChuTH, double tongThanhTien);
        [OperationContract]
        bool UpdatePhieuTraHangNCC(string maTHNCC, string maNV, string maKho, string maNCC, string maSoThue, DateTime ngayTra, string nguoiTra, string chungTuTra, string ghiChuTH, double tongThanhTien);
        [OperationContract]
        bool DeletePhieuTraHangNCC(string MaTHNCC);
        [OperationContract]
        string LayDS_PhieuTraHangNCC();
    }
}
